﻿@model Tau.ViewModels.Product

@{
    Layout = "~/Views/Shared/_LayoutPublic.cshtml";
    ViewBag.Title = Model.ProductData.ProductName;
}

<h2>@Model.ProductData.ProductName</h2>


@Html.LabelFor(m => m.ProductData.Price): @string.Format("{0:C}", Model.ProductData.Price)
<br />
@Html.LabelFor(m => m.ProductData.ProductId): @Html.DisplayFor(m => m.ProductData.ProductId)
<br />
@Html.LabelFor(m => m.ProductData.ProductName): @Html.DisplayFor(m => m.ProductData.ProductName)
<br />
@Html.LabelFor(m => m.ProductData.ProductNumber): @Html.DisplayFor(m => m.ProductData.ProductNumber)
<br />
@Html.LabelFor(m => m.ProductData.ShortDescription): @Html.DisplayFor(m => m.ProductData.ShortDescription)
<br />
@Html.LabelFor(m => m.ProductData.Description): @Html.Raw(Model.ProductData.Description)
<br />
@Html.LabelFor(m => m.ProductData.ShippingCost): @string.Format("{0:C}", Model.ProductData.ShippingCost)
<br />
@Html.LabelFor(m => m.ProductData.Shipping2):  @string.Format("{0:C}", Model.ProductData.Shipping2)
<br />
<img src='@Url.Action("GetImage", "Image", new { id = Model.ProductData.ImageId, type = "large", area = "" })'  />

